#!/bin/bash
#set -n
#set -x
#:e! ~/src/vim-bash-hacks/src/bash/setsand22.sh
if [[ (-z "$I") || (-z "${NO_SET+x}") ]] ; then
#   echo "Executing $HOME/bin/setupenv.sh"
	if [[ -z "$I" ]] ; then
		. $HOME/bin/setupenv.sh $*
	else
		. $I/setupenv.sh $*
	fi
fi
if [[ -z "$is_cygwin" ]] ; then
	. $I/setopsys.sh
fi
. $I/setsandextra.sh
if (( is_cygwin == 1 )) ; then
  setupddwnenv ii /var/opt/bea/user_projects/$USER/scmworkspace
else
  setupddwnenv ii ~/scmworkspace
fi
if [[ ! -d $II ]] ; then
	mkdir -p $II
fi
setupddwnenv project j2me
export CVSROOT=
setupddwnenv logs /opt/bea/user_projects/domains/j2me/servers/AdminServer/logs
#setupddwnenv svn_loc "/PROGRA~1/COLLAB~1"
setupddwnenv svn_loc "/bin"
#Since we modified path, we need to append it to the end.
if [[ -n "$WRITE" ]] ; then
	setupddwnenv path "$PATH"
	echo "cd $ii " >> $sofile
fi
